package cn.com.hfuu.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.com.hfuu.module.farmmedcine;

public interface farmmedcineMapper {
    int deleteByPrimaryKey(String farmMedcineid);

    int insert(farmmedcine record);

    int insertSelective(farmmedcine record);

    farmmedcine selectByPrimaryKey(String farmMedcineid);

    int updateByPrimaryKeySelective(farmmedcine record);

    int updateByPrimaryKey(farmmedcine record);

	List<farmmedcine> selectPage(@Param("start") Integer start,
			@Param("limit") Integer limit, @Param("state") int state,
			@Param("ids") String ids);

	List<farmmedcine> selectPagetotal(@Param("state") int state,@Param("ids") String ids);

	int deletes(String[] ids);
}